# 商品数据库
products = [
    {"id": "P1001", "name": "岩烧芝士脆", "flavors": ["咸香", "芝士"], "category": "饼干",
     "tags": ["网红", "办公室零食"], "price": 15.9, "calories": 380, "protein": 5.2, "fat": 22.1, "carbs": 45.3,
     "rating": 4.7},

    {"id": "P1002", "name": "芒果干", "flavors": ["酸甜"], "category": "果干",
     "tags": ["泰国进口", "无添加"], "price": 22.5, "calories": 320, "protein": 1.2, "fat": 0.8, "carbs": 78.5,
     "rating": 4.5},

    {"id": "P1003", "name": "麻辣牛肉", "flavors": ["麻辣", "咸香"], "category": "肉制品",
     "tags": ["四川风味", "高蛋白"], "price": 35.8, "calories": 280, "protein": 25.6, "fat": 18.3, "carbs": 5.2,
     "rating": 4.8},

    {"id": "P1004", "name": "酸奶块", "flavors": ["酸甜"], "category": "乳制品",
     "tags": ["补钙", "儿童零食"], "price": 18.9, "calories": 420, "protein": 8.5, "fat": 25.6, "carbs": 38.2,
     "rating": 4.3},

    {"id": "P1005", "name": "海苔脆", "flavors": ["咸鲜"], "category": "海味",
     "tags": ["低卡", "非油炸"], "price": 12.5, "calories": 150, "protein": 8.2, "fat": 5.3, "carbs": 18.7,
     "rating": 4.6},

    {"id": "P1006", "name": "黑巧克力", "flavors": ["苦甜"], "category": "巧克力",
     "tags": ["抗氧化", "低糖"], "price": 28.0, "calories": 520, "protein": 6.8, "fat": 42.5, "carbs": 35.2,
     "rating": 4.4},

    {"id": "P1007", "name": "混合坚果", "flavors": ["原味"], "category": "坚果",
     "tags": ["健康", "高纤维"], "price": 45.0, "calories": 580, "protein": 15.3, "fat": 48.6, "carbs": 22.1,
     "rating": 4.9},

    {"id": "P1008", "name": "山药薄片", "flavors": ["番茄"], "category": "薯片",
     "tags": ["轻食", "非油炸"], "price": 9.9, "calories": 480, "protein": 3.2, "fat": 25.8, "carbs": 55.3,
     "rating": 4.2},

    {"id": "P1009", "name": "鱿鱼丝", "flavors": ["香辣", "海鲜"], "category": "海味",
     "tags": ["高蛋白", "低脂"], "price": 19.8, "calories": 310, "protein": 35.2, "fat": 8.5, "carbs": 12.3,
     "rating": 4.7},

    {"id": "P1010", "name": "抹茶饼干", "flavors": ["甜", "茶香"], "category": "饼干",
     "tags": ["日式", "清新"], "price": 16.5, "calories": 450, "protein": 4.8, "fat": 20.5, "carbs": 60.1,
     "rating": 4.5},

    {"id": "P1011", "name": "椰子脆片", "flavors": ["甜", "椰香"], "category": "果干",
     "tags": ["无添加", "低脂"], "price": 24.9, "calories": 490, "protein": 3.5, "fat": 28.1, "carbs": 55.2,
     "rating": 4.6},

    {"id": "P1012", "name": "泡椒凤爪", "flavors": ["酸辣"], "category": "肉制品",
     "tags": ["开胃", "休闲"], "price": 16.8, "calories": 220, "protein": 15.6, "fat": 12.8, "carbs": 8.3,
     "rating": 4.4},

    {"id": "P1013", "name": "芝麻丸", "flavors": ["甜", "芝麻香"], "category": "养生",
     "tags": ["滋补", "健康"], "price": 32.0, "calories": 450, "protein": 10.2, "fat": 28.5, "carbs": 40.1,
     "rating": 4.7},

    {"id": "P1014", "name": "果蔬干", "flavors": ["原味"], "category": "果干",
     "tags": ["混合装", "非油炸"], "price": 18.5, "calories": 380, "protein": 4.1, "fat": 15.2, "carbs": 60.8,
     "rating": 4.3},

    {"id": "P1015", "name": "手撕素肉", "flavors": ["麻辣", "五香"], "category": "素食",
     "tags": ["高蛋白", "低脂"], "price": 12.9, "calories": 180, "protein": 18.5, "fat": 8.2, "carbs": 10.5,
     "rating": 4.5}
]
